{extends file="index.tpl"} 
{block name="page-content"}

	<div class="row-fluid">
		<div class="span12">
			<div class="block">
				<div class="head">
					<h2>Chỉnh Sửa Danh Mục Game</h2>
					<ul class="buttons">
						<li>
							<a href="#" onClick="source('tabs'); return false;">
								<div class="icon">
									<span class="ico-info"></span>
								</div> 
							</a>
						</li>
					</ul>
				</div>
				<div class="data-fluid">
				{if $data eq 'tpg'}
					<form id="validate" method="POST" action="{$WEB_BASE_URL}/index.php?controller=gameCategory&action=update&data=tpg">
						<input type="hidden" name="id"  value="{$gameCategory.id}" />
						<div class="data-fluid">
							<div class="row-form">
								<div class="span2">Loại Game</div>
								<div class="span10">
									<select name="loaigame" class="select" style="width: 100%;">
										<option value="2" {if $loaiGame eq 'online'} Selected {/if}>Game Online</option>
                                        <option value="3" {if $loaiGame eq 'offline'} Selected {/if}>Game Offline</option>
                                        <option value="4" {if $loaiGame eq 'webgame'} Selected {/if}>Game Web</option>
                                        <option value="78" {if $loaiGame eq 'kinhdien'} Selected {/if}>Game Kinh Điển</option>
									</select>
								</div>
							</div>
							<!-- <div class="row-form">
								<div class="span2">Kiểu Game</div>
								<div class="span10">
									<select name="kieugame" class="select" style="width: 100%;">
										<option value="0" >--Chọn kiểu game kinh điển--</option>
									{foreach from=$gamekinhdienArr item=gamekinhdien}
										<option value="{$gamekinhdien.name}" {if $kieugameKD eq $gamekinhdien.unique_name|replace:'-':''} Selected {/if}>{$gamekinhdien.name}</option>
                                    {/foreach}
									</select>
								</div>
							</div> -->
							<div class="row-form">
								<div class="span2">Name</div>
								<div class="span10">
									<input type="text" class="validate[required]" name="name" value="{$gameCategory.name}"/> 
									<span class="bottom">Required</span>
								</div>
							</div>
							<div class="row-form">
								<div class="span2">Unique Name</div>
								<div class="span10">
									<input type="text" class="validate[required]" name="unique_name" value="{$gameCategory.unique_name}"/> 
									<span class="bottom">Required</span>
								</div>
							</div>
							<div class="row-form">
								<div class="span2">Image</div>
								<div class="span10">
									<input type="text" class="validate[required]" name="image" value="{$img}" /> 
									<span class="bottom">Required</span>
								</div>
							</div>
							<div class="row-form">
								<div class="span2">Parent:</div>
								<div class="span10">
									<select name="parent"  class="select" style="width: 100%;">
										<option value="0">--- Chọn Parent ---</option>
										<option value="2" {if $gameCategory.parent eq '2'}Selected{/if}>Game Online</option>
										<option value="3" {if $gameCategory.parent eq '3'}Selected{/if}>Game Offline</option>
										<option value="4" {if $gameCategory.parent eq '4'}Selected{/if}>Game Web</option>
										<option value="78" {if $gameCategory.parent eq '78'}Selected{/if}>Game Kinh Điển</option>
									</select>
								</div>
							</div>
							<div class="row-form">
								<div class="span2">Sort Detail</div>
								<div class="span10"><textarea name="shortDetail" placeholder="Placeholder example" class="validate[required]">{$gameCategory.shortDetail}</textarea></div>
							</div>
							<div class="row-form">
								<div class="span2">SEO_metaDescription</div>
								<div class="span10"><textarea name="SEO_metaDescription" placeholder="Placeholder example" class="validate[required]">{$gameCategory.SEO_metaDescription}</textarea></div>
							</div>
							<div class="row-form">
								<div class="span2">SEO_keyword</div>
								<div class="span10"><input name="SEO_keyword" type="text" class="tags" value="{$gameCategory.SEO_keyword}"/></div>
							</div>
							<div class="row-form">
	                            <div class="span2">Satus</div>
	                            <div class="span10">
	                                <select name="status" class="select" style="width: 100%;">
	                                    <option value="1" {if $gameCategory.status eq 1 } Selected {/if}>Hiện</option>
	                                    <option value="0" {if $gameCategory.status eq 0 } Selected {/if}>Ẩn</option>
	                                </select>
	                            </div>
	                        </div>
	                        <div class="row-form">
	                            <div class="span2">Order Game</div>
	                            <div class="span10">
	                                <input type="text" name="order" class="validate[custom[integer]]" value="{$gameCategory.order}"/>
	                            </div>
	                        </div>
							<div class="row-form">
								<div class="span2">Hot Star:</div>
								<div class="span10">
									<select name="hot_star" class="select" style="width: 100%;">
										<option value="0" {if $gameCategory.hot_star eq '0'}Selected{/if}>Ẩn</option>
										<option value="5" {if $gameCategory.hot_star eq '5'}Selected{/if}>Hiện</option>
									</select>
								</div>
							</div>
							<div class="row-form">
								<div class="span2">About Link</div>
								<div class="span10"><textarea name="about_link" placeholder="Placeholder example" >{$gameCategory.about_link}</textarea></div>
							</div>
							<div class="row-form">
								<div class="span2">Update Link</div>
								<div class="span10"><textarea name="update_link" placeholder="Placeholder example" >{$gameCategory.update_link}</textarea></div>
							</div>
							<div class="toolbar bottom tar">
								<div class="btn-group">
									<button class="btn btn-info" type="button" onClick="$('#validate').validationEngine('hide');">Hide prompts</button>
	                                <button class="btn" type="submit">Update Game Category</button>
	                            </div>
	                       	</div>
						</div>
					</form>
					{elseif $data eq 'mobile'}
					<form id="validate" method="POST" action="{$WEB_BASE_URL}/index.php?controller=gameCategory&action=update&data=mobile">
						<input type="hidden" name="id"  value="{$gameCategory.id}" />
						<div class="data-fluid">
							<div class="row-form">
								<div class="span2">Loại Game</div>
								<div class="span10">
									<select name="loaigame" class="select" style="width: 100%;">
										<option value="2" {if $loaiGame eq 'online'} Selected {/if}>Game Online</option>
                                        <option value="3" {if $loaiGame eq 'offline'} Selected {/if}>Game Offline</option>
                                        <option value="4" {if $loaiGame eq 'webgame'} Selected {/if}>Game Web</option>
                                        <option value="78" {if $loaiGame eq 'kinhdien'} Selected {/if}>Game Kinh Điển</option>
									</select>
								</div>
							</div>
							<!-- <div class="row-form">
								<div class="span2">Kiểu Game</div>
								<div class="span10">
									<select name="kieugame" class="select" style="width: 100%;">
										<option value="0" >--Chọn kiểu game kinh điển--</option>
									{foreach from=$gamekinhdienArr item=gamekinhdien}
										<option value="{$gamekinhdien.name}" {if $kieugameKD eq $gamekinhdien.unique_name|replace:'-':''} Selected {/if}>{$gamekinhdien.name}</option>
                                    {/foreach}
									</select>
								</div>
							</div> -->
							<div class="row-form">
								<div class="span2">Name</div>
								<div class="span10">
									<input type="text" class="validate[required]" name="name" value="{$gameCategory.name}"/> 
									<span class="bottom">Required</span>
								</div>
							</div>
							<div class="row-form">
								<div class="span2">Unique Name</div>
								<div class="span10">
									<input type="text" class="validate[required]" name="unique_name" value="{$gameCategory.unique_name}"/> 
									<span class="bottom">Required</span>
								</div>
							</div>
							<div class="row-form">
								<div class="span2">Image</div>
								<div class="span10">
									<input type="text" class="validate[required]" name="image" value="{$img}" /> 
									<span class="bottom">Required</span>
								</div>
							</div>
							<div class="row-form">
								<div class="span2">Parent:</div>
								<div class="span10">
									<select name="parent" class="select" style="width: 100%;">
										<option value="0">--- Chọn Parent ---</option>
										<option value="2" {if $gameCategory.parent eq '2'}Selected{/if}>Game Online</option>
										<option value="3" {if $gameCategory.parent eq '3'}Selected{/if}>Game Offline</option>
										<option value="4" {if $gameCategory.parent eq '4'}Selected{/if}>Game Web</option>
										<option value="78" {if $gameCategory.parent eq '78'}Selected{/if}>Game Kinh Điển</option>
									</select>
								</div>
							</div>
							<div class="row-form">
								<div class="span2">Sort Detail</div>
								<div class="span10"><textarea name="shortDetail" placeholder="Placeholder example" class="validate[required]">{$gameCategory.shortDetail}</textarea></div>
							</div>
							<div class="row-form">
								<div class="span2">SEO_metaDescription</div>
								<div class="span10"><textarea name="SEO_metaDescription" placeholder="Placeholder example" class="validate[required]">{$gameCategory.SEO_metaDescription}</textarea></div>
							</div>
							<div class="row-form">
								<div class="span2">SEO_keyword</div>
								<div class="span10"><input name="SEO_keyword" type="text" class="tags" value="{$gameCategory.SEO_keyword}"/></div>
							</div>
							<div class="row-form">
	                            <div class="span2">Satus</div>
	                            <div class="span10">
	                                <select name="status" class="select" style="width: 100%;">
	                                    <option value="1" {if $gameCategory.status eq 1 } Selected {/if}>Hiện</option>
	                                    <option value="0" {if $gameCategory.status eq 0 } Selected {/if}>Ẩn</option>
	                                </select>
	                            </div>
	                        </div>
	                        <div class="row-form">
	                            <div class="span2">Order Game</div>
	                            <div class="span10">
	                                <input type="text" name="order" class="validate[custom[integer]]" value="{$gameCategory.order}"/>
	                            </div>
	                        </div>
							<div class="row-form">
								<div class="span2">Hot Star:</div>
								<div class="span10">
									<select name="hot_star" class="select" style="width: 100%;">
										<option value="0" {if $gameCategory.hot_star eq '0'}Selected{/if}>Ẩn</option>
										<option value="5" {if $gameCategory.hot_star eq '5'}Selected{/if}>Hiện</option>
									</select>
								</div>
							</div>
							<div class="row-form">
								<div class="span2">About Link</div>
								<div class="span10"><textarea name="about_link" placeholder="Placeholder example" >{$gameCategory.about_link}</textarea></div>
							</div>
							<div class="row-form">
								<div class="span2">Update Link</div>
								<div class="span10"><textarea name="update_link" placeholder="Placeholder example" >{$gameCategory.update_link}</textarea></div>
							</div>
							<div class="toolbar bottom tar">
								<div class="btn-group">
									<button class="btn btn-info" type="button" onClick="$('#validate').validationEngine('hide');">Hide prompts</button>
	                                <button class="btn" type="submit">Update Game Category Mobile</button>
	                            </div>
	                       	</div>
						</div>
					</form>
					{elseif $data eq 'cgmb'}	
					<form id="validate" method="POST" action="{$WEB_BASE_URL}/index.php?controller=gameCategory&action=update&data=cgmb">
						<input type="hidden" name="id"  value="{$gameCategory.id}" />
						<div class="data-fluid">
							<div class="row-form">
								<div class="span2">Loại Game</div>
								<div class="span10">
									<select name="loaigame" class="select" style="width: 100%;">
										<option value="2" {if $loaiGame eq 'online'} Selected {/if}>Game Online</option>
                                        <option value="3" {if $loaiGame eq 'offline'} Selected {/if}>Game Offline</option>
                                        <option value="4" {if $loaiGame eq 'webgame'} Selected {/if}>Game Web</option>
                                        <option value="78" {if $loaiGame eq 'kinhdien'} Selected {/if}>Game Kinh Điển</option>
									</select>
								</div>
							</div>
							<div class="row-form">
								<div class="span2">Kiểu Game</div>
								<div class="span10">
									<select name="kieugame" class="select" style="width: 100%;">
										<option value="" >--Chọn kiểu game kinh điển--</option>
									{foreach from=$gamekinhdienArr item=gamekinhdien}
										<option value="{$gamekinhdien.name}" {if $kieugameKD eq $gamekinhdien.unique_name|replace:'-':''} Selected {/if}>{$gamekinhdien.name}</option>
                                    {/foreach}
									</select>
								</div>
							</div>
							<div class="row-form">
								<div class="span2">Name</div>
								<div class="span10">
									<input type="text" class="validate[required]" name="name" value="{$gameCategory.name}" /> 
									<span class="bottom">Required</span>
								</div>
							</div>
							<div class="row-form">
								<div class="span2">Unique Name</div>
								<div class="span10">
									<input type="text" class="validate[required]" name="unique_name" value="{$gameCategory.unique_name}"/> 
									<span class="bottom">Required</span>
								</div>
							</div>
							<div class="row-form">
								<div class="span2">Image</div>
								<div class="span10">
									<input type="text" class="validate[required]" name="image" value="{$img}" /> 
									<span class="bottom">Required</span>
								</div>
							</div>
							<div class="row-form">
								<div class="span2">XLarge Image</div>
								<div class="span10">
									<input type="text" name="xlargeImage" value="{$imgx}"/>
								</div>
							</div>  
							<div class="row-form">
								<div class="span2">Parent:</div>
								<div class="span10">
									<select name="parent" class="select" style="width: 100%;">
										<option value="0" >--- Chọn Parent ---</option>
										<option value="2" {if $gameCategory.parent eq '2'}Selected{/if}>Game Online</option>
										<option value="3" {if $gameCategory.parent eq '3'}Selected{/if}>Game Offline</option>
										<option value="4" {if $gameCategory.parent eq '4'}Selected{/if}>Game Web</option>
										<option value="78" {if $gameCategory.parent eq '78'}Selected{/if}>Game Kinh Điển</option>
									</select>
								</div>
							</div>
							<div class="row-form">
								<div class="span2">Sort Detail</div>
								<div class="span10"><textarea name="shortDetail" placeholder="Placeholder example" class="validate[required]">{$gameCategory.shortDetail}</textarea></div>
							</div>
							<div class="row-form">
								<div class="span2">SEO_metaDescription</div>
								<div class="span10"><textarea name="SEO_metaDescription" placeholder="Placeholder example" class="validate[required]">{$gameCategory.SEO_metaDescription}</textarea></div>
							</div>
							<div class="row-form">
								<div class="span2">SEO_keyword</div>
								<div class="span10"><input name="SEO_keyword" type="text" class="tags" value="{$gameCategory.SEO_keyword}"/></div>
							</div>
							<div class="row-form">
	                            <div class="span2">Satus</div>
	                            <div class="span10">
	                                <select name="status" class="select" style="width: 100%;">
	                                    <option value="1" {if $gameCategory.status eq 1 } Selected {/if}>Hiện</option>
	                                    <option value="0" {if $gameCategory.status eq 0 } Selected {/if}>Ẩn</option>
	                                </select>
	                            </div>
	                        </div>
	                        <div class="row-form">
	                            <div class="span2">Order Game</div>
	                            <div class="span10">
	                                <input type="text" name="order" class="validate[custom[integer]]" value="{$gameCategory.order}"/>
	                            </div>
	                        </div>
							<div class="row-form">
								<div class="span2">Hot Star:</div>
								<div class="span10">
									<select name="hot_star" class="select" style="width: 100%;">
										<option value="0" {if $gameCategory.hot_star eq '0'}Selected{/if}>Ẩn</option>
										<option value="5" {if $gameCategory.hot_star eq '5'}Selected{/if}>Hiện</option>
									</select>
								</div>
							</div>
							
							<div class="row-form">
	                            <div class="span2">Is New</div>
	                            <div class="span10">
	                                <input type="text" name="isNew" class="validate[custom[integer]]" value="{$gameCategory.isNew}"/>
	                            </div>
	                        </div>
	                        <div class="row-form">
	                            <div class="span2">Is Pop</div>
	                            <div class="span10">
	                                <input type="text" name="isPop" class="validate[custom[integer]]" value="{$gameCategory.isPop}"/>
	                            </div>
	                        </div>
	                        <div class="row-form">
	                            <div class="span2">Rank</div>
	                            <div class="span10">
	                                <input type="text" name="rank" class="validate[custom[integer]]" value="{$gameCategory.rank}"/>
	                            </div>
	                        </div>
							<div class="toolbar bottom tar">
								<div class="btn-group">
									<button class="btn btn-info" type="button" onClick="$('#validate').validationEngine('hide');">Hide prompts</button>
	                                <button class="btn" type="submit">Update Game Category</button>
	                            </div>
	                       	</div>
						</div>
					</form>
				{elseif $data eq 'mmbg'}
					<form id="validate" method="POST" action="{$WEB_BASE_URL}/index.php?controller=gameCategory&action=update&data=mmbg">
						<input type="hidden" name="id"  value="{$gameCategory.id}" />
						<div class="data-fluid">
							<div class="row-form">
								<div class="span2">Loại Game</div>
								<div class="span10">
									<select name="loaigame" class="select" style="width: 100%;">
										<option value="2" {if $loaiGame eq 'online'} Selected {/if}>Game Online</option>
                                        <option value="3" {if $loaiGame eq 'offline'} Selected {/if}>Game Offline</option>
                                        <option value="4" {if $loaiGame eq 'webgame'} Selected {/if}>Game Web</option>
                                        <option value="78" {if $loaiGame eq 'kinhdien'} Selected {/if}>Game Kinh Điển</option>
									</select>
								</div>
							</div>
							<!-- <div class="row-form">
								<div class="span2">Kiểu Game</div>
								<div class="span10">
									<select name="kieugame" class="select" style="width: 100%;">
										<option value="0" >--Chọn kiểu game kinh điển--</option>
									{foreach from=$gamekinhdienArr item=gamekinhdien}
										<option value="{$gamekinhdien.name}" {if $kieugameKD eq $gamekinhdien.unique_name|replace:'-':''} Selected {/if}>{$gamekinhdien.name}</option>
                                    {/foreach}
									</select>
								</div>
							</div> -->
							<div class="row-form">
								<div class="span2">Name</div>
								<div class="span10">
									<input type="text" class="validate[required]" name="name" value="{$gameCategory.name}" /> 
									<span class="bottom">Required</span>
								</div>
							</div>
							<div class="row-form">
								<div class="span2">Unique Name</div>
								<div class="span10">
									<input type="text" class="validate[required]" name="unique_name" value="{$gameCategory.unique_name}"/> 
									<span class="bottom">Required</span>
								</div>
							</div>
							<div class="row-form">
								<div class="span2">Image</div>
								<div class="span10">
									<input type="text" class="validate[required]" name="image" value="{$img}" /> 
									<span class="bottom">Required</span>
								</div>
							</div>
							<div class="row-form">
								<div class="span2">XLarge Image</div>
								<div class="span10">
									<input type="text" name="xlargeImage" value="{$imgx}"/>
								</div>
							</div>  
							<div class="row-form">
								<div class="span2">Parent:</div>
								<div class="span10">
									<select name="parent" class="select" style="width: 100%;">
										<option value="0" >--- Chọn Parent ---</option>
										<option value="2" {if $gameCategory.parent eq '2'}Selected{/if}>Game Online</option>
										<option value="3" {if $gameCategory.parent eq '3'}Selected{/if}>Game Offline</option>
										<option value="4" {if $gameCategory.parent eq '4'}Selected{/if}>Game Web</option>
										<option value="78" {if $gameCategory.parent eq '78'}Selected{/if}>Game Kinh Điển</option>
									</select>
								</div>
							</div>
							<div class="row-form">
								<div class="span2">Sort Detail</div>
								<div class="span10"><textarea name="shortDetail" placeholder="Placeholder example" class="validate[required]">{$gameCategory.shortDetail}</textarea></div>
							</div>
							<div class="row-form">
								<div class="span2">SEO_metaDescription</div>
								<div class="span10"><textarea name="SEO_metaDescription" placeholder="Placeholder example" class="validate[required]">{$gameCategory.SEO_metaDescription}</textarea></div>
							</div>
							<div class="row-form">
								<div class="span2">SEO_keyword</div>
								<div class="span10"><input name="SEO_keyword" type="text" class="tags" value="{$gameCategory.SEO_keyword}"/></div>
							</div>
							<div class="row-form">
	                            <div class="span2">Satus</div>
	                            <div class="span10">
	                                <select name="status" class="select" style="width: 100%;">
	                                    <option value="1" {if $gameCategory.status eq 1 } Selected {/if}>Hiện</option>
	                                    <option value="0" {if $gameCategory.status eq 0 } Selected {/if}>Ẩn</option>
	                                </select>
	                            </div>
	                        </div>
	                        <div class="row-form">
	                            <div class="span2">Order Game</div>
	                            <div class="span10">
	                                <input type="text" name="order" class="validate[custom[integer]]" value="{$gameCategory.order}"/>
	                            </div>
	                        </div>
							<div class="row-form">
								<div class="span2">Hot Star:</div>
								<div class="span10">
									<select name="hot_star" class="select" style="width: 100%;">
										<option value="0" {if $gameCategory.hot_star eq '0'}Selected{/if}>Ẩn</option>
										<option value="5" {if $gameCategory.hot_star eq '5'}Selected{/if}>Hiện</option>
									</select>
								</div>
							</div>
							<div class="row-form">
	                            <div class="span2">Game Favorite</div>
	                            <div class="span10">
	                                <input type="text" name="isFavorite" class="validate[custom[integer]]" value="{$gameCategory.isFavorite}"/>
	                            </div>
	                        </div>
							<div class="row-form">
	                            <div class="span2">Is New</div>
	                            <div class="span10">
	                                <input type="text" name="isNew" class="validate[custom[integer]]" value="{$gameCategory.isNew}"/>
	                            </div>
	                        </div>
	                        <div class="row-form">
	                            <div class="span2">Is Pop</div>
	                            <div class="span10">
	                                <input type="text" name="isPop" class="validate[custom[integer]]" value="{$gameCategory.isPop}"/>
	                            </div>
	                        </div>
	                        <div class="row-form">
	                            <div class="span2">Rank</div>
	                            <div class="span10">
	                                <input type="text" name="rank" class="validate[custom[integer]]" value="{$gameCategory.rank}"/>
	                            </div>
	                        </div>
	                        <div class="row-form">
								<div class="span2">About Link</div>
								<div class="span10"><textarea name="about_link" placeholder="Placeholder example" >{$gameCategory.about_link}</textarea></div>
							</div>
							<div class="row-form">
								<div class="span2">Update Link</div>
								<div class="span10"><textarea name="update_link" placeholder="Placeholder example" >{$gameCategory.update_link}</textarea></div>
							</div>
							<div class="toolbar bottom tar">
								<div class="btn-group">
									<button class="btn btn-info" type="button" onClick="$('#validate').validationEngine('hide');">Hide prompts</button>
	                                <button class="btn" type="submit">Update Game Category</button>
	                            </div>
	                       	</div>
						</div>
					</form>
				{elseif $data eq 'nsgt'}
					<form id="validate" method="POST" action="{$WEB_BASE_URL}/index.php?controller=gameCategory&action=update&data=nsgt">
						<input type="hidden" name="id"  value="{$gameCategory.id}" />
						<div class="data-fluid">
							<div class="row-form">
								<div class="span2">Loại Game</div>
								<div class="span10">
									<select name="loaigame" class="select" style="width: 100%;">
										<option value="2" {if $loaiGame eq 'online'} Selected {/if}>Game Online</option>
                                        <option value="3" {if $loaiGame eq 'offline'} Selected {/if}>Game Offline</option>
                                        <option value="4" {if $loaiGame eq 'webgame'} Selected {/if}>Game Web</option>
                                        <option value="78" {if $loaiGame eq 'kinhdien'} Selected {/if}>Game Kinh Điển</option>
									</select>
								</div>
							</div>
							<div class="row-form">
								<div class="span2">Kiểu Game</div>
								<div class="span10">
									<select name="kieugame" class="select" style="width: 100%;">
										<option value="" >--Chọn kiểu game kinh điển--</option>
									{foreach from=$gamekinhdienArr item=gamekinhdien}
										<option value="{$gamekinhdien.name}" {if $kieugameKD eq $gamekinhdien.unique_name|replace:'-':''} Selected {/if}>{$gamekinhdien.name}</option>
                                    {/foreach}
									</select>
								</div>
							</div>
							<div class="row-form">
								<div class="span2">Name</div>
								<div class="span10">
									<input type="text" class="validate[required]" name="name" value="{$gameCategory.name}" /> 
									<span class="bottom">Required</span>
								</div>
							</div>
							<div class="row-form">
								<div class="span2">Unique Name</div>
								<div class="span10">
									<input type="text" class="validate[required]" name="unique_name" value="{$gameCategory.unique_name}"/> 
									<span class="bottom">Required</span>
								</div>
							</div>
							<div class="row-form">
								<div class="span2">Image</div>
								<div class="span10">
									<input type="text" class="validate[required]" name="image" value="{$img}" /> 
									<span class="bottom">Required</span>
								</div>
							</div>
							<div class="row-form">
								<div class="span2">XLarge Image</div>
								<div class="span10">
									<input type="text" name="xlargeImage" value="{$imgx}"/>
								</div>
							</div>  
							<div class="row-form">
								<div class="span2">Parent:</div>
								<div class="span10">
									<select name="parent" class="select" style="width: 100%;">
										<option value="0" >--- Chọn Parent ---</option>
										<option value="2" {if $gameCategory.parent eq '2'}Selected{/if}>Game Online</option>
										<option value="3" {if $gameCategory.parent eq '3'}Selected{/if}>Game Offline</option>
										<option value="4" {if $gameCategory.parent eq '4'}Selected{/if}>Game Web</option>
										<option value="78" {if $gameCategory.parent eq '78'}Selected{/if}>Game Kinh Điển</option>
									</select>
								</div>
							</div>
							<div class="row-form">
								<div class="span2">Sort Detail</div>
								<div class="span10"><textarea name="shortDetail" placeholder="Placeholder example" class="validate[required]">{$gameCategory.shortDetail}</textarea></div>
							</div>
							<div class="row-form">
								<div class="span2">SEO_metaDescription</div>
								<div class="span10"><textarea name="SEO_metaDescription" placeholder="Placeholder example" class="validate[required]">{$gameCategory.SEO_metaDescription}</textarea></div>
							</div>
							<div class="row-form">
								<div class="span2">SEO_keyword</div>
								<div class="span10"><input name="SEO_keyword" type="text" class="tags" value="{$gameCategory.SEO_keyword}"/></div>
							</div>
							<div class="row-form">
	                            <div class="span2">Satus</div>
	                            <div class="span10">
	                                <select name="status" class="select" style="width: 100%;">
	                                    <option value="1" {if $gameCategory.status eq 1 } Selected {/if}>Hiện</option>
	                                    <option value="0" {if $gameCategory.status eq 0 } Selected {/if}>Ẩn</option>
	                                </select>
	                            </div>
	                        </div>
	                        <div class="row-form">
	                            <div class="span2">Order Game</div>
	                            <div class="span10">
	                                <input type="text" name="order" class="validate[custom[integer]]" value="{$gameCategory.order}"/>
	                            </div>
	                        </div>
							<div class="row-form">
								<div class="span2">Hot Star:</div>
								<div class="span10">
									<select name="hot_star" class="select" style="width: 100%;">
										<option value="0" {if $gameCategory.hot_star eq '0'}Selected{/if}>Ẩn</option>
										<option value="5" {if $gameCategory.hot_star eq '5'}Selected{/if}>Hiện</option>
									</select>
								</div>
							</div>
							<div class="row-form">
	                            <div class="span2">Game Favorite</div>
	                            <div class="span10">
	                                <input type="text" name="isFavorite" class="validate[custom[integer]]" value="{$gameCategory.isFavorite}"/>
	                            </div>
	                        </div>
							<div class="row-form">
	                            <div class="span2">Is New</div>
	                            <div class="span10">
	                                <input type="text" name="isNew" class="validate[custom[integer]]" value="{$gameCategory.isNew}"/>
	                            </div>
	                        </div>
	                        <div class="row-form">
	                            <div class="span2">Is Pop</div>
	                            <div class="span10">
	                                <input type="text" name="isPop" class="validate[custom[integer]]" value="{$gameCategory.isPop}"/>
	                            </div>
	                        </div>
	                        <div class="row-form">
	                            <div class="span2">Rank</div>
	                            <div class="span10">
	                                <input type="text" name="rank" class="validate[custom[integer]]" value="{$gameCategory.rank}"/>
	                            </div>
	                        </div>
							<div class="toolbar bottom tar">
								<div class="btn-group">
									<button class="btn btn-info" type="button" onClick="$('#validate').validationEngine('hide');">Hide prompts</button>
	                                <button class="btn" type="submit">Update Game Category</button>
	                            </div>
	                       	</div>
						</div>
					</form>
					{/if}					
				</div>
			</div>
		</div>		
	</div>
{/block}


